#include <stdio.h>

int main()
{
   double num=0.12;
   printf("dauble类型的变量为：%.2f\n",num);
   printf("dauble类型的变量为：%.2lf\n",num);
   printf("double类型的变量为：%.2e\n",num);
   return 0;
}